home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 2002 January / PC Answers January 2002.7z / PC Answers January 2002.bin / trial / intrlnch / IntraLaunch.EXE / utils / convert.txt < prev    next >
Text File  |  1999-04-21  |  4KB  |  99 lines

  1. Use this program to automatically convert an <OBJECT> tag for IE only into
  2. a <OBJECT>/<EMBED> tag for both IE and Netscape.  You could just as easily
  3. copy and paste this with a text editor instead.  Notice the difference
  4. in "Browser" parameter and the format for the ImageSrc.
  5. See FAQ for more information.
  6.  
  7. Sample Input Document(IE Only):
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9.  
  10. <HTML>
  11. <BODY>
  12.  
  13. <OBJECT ID="IntraLaunch" WIDTH=65 HEIGHT=77 CLASSID="CLSID:A2CD1E17-F7F7-11D2-A44A-0020182C1446" CODEBASE="file:///C:\IntraLaunch\sample\IntraLaunch.CAB#version=3,3,0,0">
  14.    <PARAM NAME="_ExtentX" VALUE="2240">
  15.    <PARAM NAME="_ExtentY" VALUE="1963">
  16.    <PARAM NAME="ImageLoc" VALUE="Local">
  17.    <PARAM NAME="ImageSrc" VALUE="F:\intranet\web\somepic.jpg">
  18.    <PARAM NAME="Run" VALUE="c:\MicrosoftWord\word.exe">
  19.    <PARAM NAME="RunParms" VALUE="">
  20.    <PARAM NAME="DefDir" VALUE="C:\">
  21.    <PARAM NAME="Display" VALUE="MAX">
  22.    <PARAM NAME="UsePassword" VALUE="FALSE">
  23.    <PARAM NAME="Password" VALUE="0000000000000000">
  24.    <PARAM NAME="Sound" VALUE="None">
  25.    <PARAM NAME="Pause" VALUE="0">
  26.    <PARAM NAME="IsURL" VALUE="FALSE">
  27.    <PARAM NAME="ProcessErr" VALUE="MessageBox">
  28.    <PARAM NAME="ErrAction" VALUE="Error|Sorry, cannot find file to open">
  29.    <PARAM NAME="RecallApp" VALUE="False">
  30.    <PARAM NAME="AndRestore" VALUE="True">
  31.    <PARAM NAME="MapDrive" VALUE="\\SERVER\ShareName|X:">
  32.    <PARAM NAME="LogPass" VALUE="Null|Null|Debug">
  33.    <PARAM NAME="AutoMap" VALUE="False">    
  34. </OBJECT>
  35. </HTML>
  36. </BODY>
  37.  
  38. Sample Output Document(IE & Netscape/ScriptActive):
  39. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  40.  
  41. <HTML>
  42. <BODY>
  43. <OBJECT ID="IntraLaunch" WIDTH=65 HEIGHT=77 CLASSID="CLSID:A2CD1E17-F7F7-11D2-A44A-0020182C1446" CODEBASE="file:///C:\IntraLaunch\sample\IntraLaunch.CAB#version=3,3,0,0">
  44.    <PARAM NAME="_ExtentX" VALUE="2240">
  45.    <PARAM NAME="_ExtentY" VALUE="1963">
  46.    <PARAM NAME="ImageLoc" VALUE="Local">
  47.    <PARAM NAME="ImageSrc" VALUE="F:\intranet\web\somepic.jpg">
  48.    <PARAM NAME="Run" VALUE="c:\MicrosoftWord\word.exe">
  49.    <PARAM NAME="RunParms" VALUE="">
  50.    <PARAM NAME="DefDir" VALUE="C:\">
  51.    <PARAM NAME="Display" VALUE="MAX">
  52.    <PARAM NAME="UsePassword" VALUE="FALSE">
  53.    <PARAM NAME="Password" VALUE="0000000000000000">
  54.    <PARAM NAME="Sound" VALUE="None">
  55.    <PARAM NAME="Pause" VALUE="0">
  56.    <PARAM NAME="IsURL" VALUE="FALSE">
  57.    <PARAM NAME="ProcessErr" VALUE="MessageBox">
  58.    <PARAM NAME="ErrAction" VALUE="Error|Sorry, cannot find file to open">
  59.    <PARAM NAME="RecallApp" VALUE="False">
  60.    <PARAM NAME="AndRestore" VALUE="True">
  61.    <PARAM NAME="MapDrive" VALUE="\\SERVER\ShareName|X:">
  62.    <PARAM NAME="LogPass" VALUE="Null|Null|Debug">
  63.    <PARAM NAME="AutoMap" VALUE="False">    
  64. <EMBED NAME="IntraLaunch" WIDTH=65 HEIGHT=77 CLASSID="CLSID:A2CD1E17-F7F7-11D2-A44A-0020182C1446" CODEBASE="file:///C:\IntraLaunch\sample\IntraLaunch.CAB#version=3,3,0,0" TYPE="application/oleobject"
  65.   PARAM__ExtentX="2240"
  66.   PARAM__ExtentY="1963"
  67.   PARAM_ImageLoc="Local"
  68.   PARAM_ImageSrc="F:\intranet\web\somepic.jpg"
  69.   PARAM_Run="c:\MicrosoftWord\word.exe"
  70.   PARAM_RunParms=""
  71.   PARAM_DefDir="C:\"
  72.   PARAM_Display="MAX"
  73.   PARAM_UsePassword="FALSE"
  74.   PARAM_Password="0000000000000000"
  75.   PARAM_Sound="None"
  76.   PARAM_Pause="0"
  77.   PARAM_IsURL="FALSE"
  78.   PARAM_ProcessErr="MessageBox">
  79.   PARAM_ErrAction="Error|Sorry, cannot find file to open">
  80.   PARAM_RecallApp="False"
  81.   PARAM_AndRestore="True"
  82.   PARAM_MapDrive="\\SERVER\ShareName|X:"
  83.   PARAM_LogPass="Null|Null|Debug"
  84.   PARAM_AutoMap="False"
  85. ></OBJECT>
  86. </HTML>
  87. </BODY>
  88.  
  89.  
  90. Note: The "ImageLoc" parameter must be manually changed to
  91. "Local" for Netscape, The "Remote" getting of graphics will not
  92. work due to a ScriptActive limitation.  Therefor the "ImageSrc"
  93. parameter can't be a URL, it must be an absolute file path.
  94. See FAQ for more info.
  95.  
  96. Netscape 4 ignores <OBJECT>'s within table cells, so you can't do the
  97. above most of the time.  You have to use the <EMBED> part only, so it
  98. will only work in Netscape.
  99.